package brandhub

import (
	"encoding/xml"

	"github.com/bububa/opentaobao/model"
)

// TaobaoBrandhubSpecialshowRptCampaignGetAPIResponse 品牌号品牌特秀计划报表数据查询 API返回值
// taobao.brandhub.specialshow.rpt.campaign.get
//
// 获取品牌号品牌特秀广告campaign分日报表数据，只能查询近90天内的数据，包括展现量，点击量等
type TaobaoBrandhubSpecialshowRptCampaignGetAPIResponse struct {
	model.CommonResponse
	TaobaoBrandhubSpecialshowRptCampaignGetAPIResponseModel
}

// TaobaoBrandhubSpecialshowRptCampaignGetAPIResponseModel is 品牌号品牌特秀计划报表数据查询 成功返回结果
type TaobaoBrandhubSpecialshowRptCampaignGetAPIResponseModel struct {
	XMLName xml.Name `xml:"brandhub_specialshow_rpt_campaign_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	CampaignRptList []TaobaoBrandhubSpecialshowRptCampaignGetResult `json:"campaign_rpt_list,omitempty" xml:"campaign_rpt_list>taobao_brandhub_specialshow_rpt_campaign_get_result,omitempty"`
	// 错误信息
	ErrorParam string `json:"error_param,omitempty" xml:"error_param,omitempty"`
}
